//
// Created by denglibin on 2021/4/11 0011.
//

#ifndef SDL_DEMO_ROAD_POSITION_H
#define SDL_DEMO_ROAD_POSITION_H
/**
 * 路面在地图中的位置
 */
typedef struct road_position {
    int startX, endX, y;

}RoadPosition;

/**
 * 创建
 * @param startX
 * @param endX
 * @param y
 * @return
 */
RoadPosition * RP_createRoadPosition(int startX, int endX, int y);

/**
 * 释放资源
 * @param roadPosition
 * @return
 */
RoadPosition * RP_freeRoadPosition(RoadPosition* roadPosition);
#endif //SDL_DEMO_ROAD_POSITION_H
